home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
tcp
/
acuseeme1_50.lha
/
ACUSeeMe
/
ACUSeeMe Install
next >
Wrap
Text File
|
1995-06-05
|
3KB
|
93 lines
; CUSeeMe Installer © 1995 Robert Reiswig (rcr@netcom.com)
;
; Version 1.0 June 4, 1995
; - Original version. Thank you very much Robert.
;
; Version 1.1 June 4, 1995
; - Installer now creates a destination directory called "ACUSeeMe" in
; the directory that the user chooses
; - Changed the variable name "CUDir" to "InstallDir"
; - Changed ACUSeeMeVer to "1.50"
; - Minor cosmetic changes
;********************************************************************
; Current Version of ACUSeeMe
;********************************************************************
(set ACUSeeMeVer "1.50")
;********************************************************************
; Info on ACUSeeMe and Installer Man
;********************************************************************
(message "\n\nACUSeeMe V" ACUSeeMeVer "\n\n"
"Network video-conferencing tool\n\n"
"by\n\nBerend Ozceri\n(bo24@andrew.cmu.edu)\n\n"
"Original CUSeeMe © 1994, 1995 Cornell University\n"
"Amiga CUSeeMe © 1994, 1995 Berend Ozceri"
)
;********************************************************************
; Ask where to put it
;********************************************************************
(set InstallDir
(askdir
(prompt "Please select where you wish to install\nACUSeeMe V"ACUSeeMeVer"\n"
"(The installer will create a drawer there.)")
(help "Please select where you wish to install ACUSeeMe. A directory "
"called ACUSeeMe (and an icon for it) will be created in the "
"directory selected.")
(default "Work:")
)
)
(set InstallDir (tackon InstallDir "ACUSeeMe"))
(makedir InstallDir)
(set @default-dest InstallDir)
;********************************************************************
; Double Check on the CPU, to make sure
;********************************************************************
(set cpu (database "cpu"))
(if (= cpu 68000) (set #cpu 0))
(if (= cpu 68010) (set #cpu 1))
(if (= cpu 68020) (set #cpu 2))
(if (= cpu 68030) (set #cpu 3))
(if (= cpu 68040) (set #cpu 4))
(if (> (exists ("libs:68060.library")) 0) (set #cpu 5))
(set #cpu
(askchoice
(choices "68000" "68010" "68020" "68030" "68040" "68060")
(prompt "Central Processing Unit Check")
(help "The ACUSeeMe binary comes in two versions; one for Amigas with "
"68000 or 68010 CPUs and one for Amigas with 68020, 68030, 68040 "
"or 68060 CPUs. Please choose the CPU type of your Amiga. The "
"correct binary will then be installed.")
(default #cpu)
)
)
;********************************************************************
; Check for old version
;********************************************************************
(if (> (exists (cat InstallDir "ACUSeeMe")) 0)
(rename (cat InstallDir "ACUSeeMe") (cat InstallDir "ACUSeeMe_old"))
)
(if (> (exists (cat InstallDir "ACUSeeMe.info")) 0)
(rename (cat InstallDir "ACUSeeMe.info") (cat InstallDir "ACUSeeMe_old.info"))
)
;********************************************************************
; Copy Correct file
;********************************************************************
(if (< #cpu 2) (copyfiles (source "ACUSeeMe_000") (dest InstallDir) (newname "ACUSeeMe") (infos)))
(if (> #cpu 1) (copyfiles (source "ACUSeeMe_020") (dest InstallDir) (newname "ACUSeeMe") (infos)))